<!DOCTYPE html PUBLIC>
<html>
<head>
    <meta>
    <title>
        登录
    </title>
    <link href="/mindcard/public/admin/css/login.css" rel="stylesheet" type="text/css" />
    <style>
        body{
            background-image:url("/mindcard/public/admin/images/login.jpg");
        }
    </style>
</head>

<body>
<div id="login-box">
    <div class="login-box-wh">
        <div class="box-mov">
                    <span class="box-mov-s">
                    </span>
            <div class="box-mov-d">
            </div>
        </div>
        <div class="text-box to-index">
                    <span class="to-index-m">
                    </span>
            <a href="../index.php" target="_blank" title="Homepage">
                Plase Login
            </a>
        </div>
    </div>
    <form method="post" action="index">
        <input type="hidden" name="_token" value="{{ csrf_token() }}">
        <div class="login-box-wh">
            <div class="box-mov">
                        <span class="box-mov-s">
                        </span>
                <div class="box-mov-d">
                </div>
            </div>
            <div class="text-box">
                <input name="username" type="text"  placeholder="请输入用户名:" maxlength="6" value="" >
            </div>
        </div>
        <div class="login-box-wh">
            <div class="box-mov">
                        <span class="box-mov-s">
                        </span>
                <div class="box-mov-d">
                </div>
            </div>
            <div class="text-box">
                <input type="password" class="alltxt" placeholder="请输入密码:" name="pass" value="" />
            </div>
        </div>
        <div class="login-box-wh text-box-login">
            <div class="box-mov">
                        <span class="box-mov-s">
                        </span>
                <div class="box-mov-d">
                </div>
            </div>
            <div class="text-box-login-btn">
                        <span class="login-btn-m">
                        </span>
                <button type="submit"  class="login-btn" onclick="this.form.submit();">
                    登录
                </button>
            </div>
        </div>
        @if(session('error'))
            <div class="login-box-wh" onclick="this.style.display='none'">
                <div class="box-mov">
                        <span class="box-mov-s">
                        </span>
                    <div class="box-mov-d">
                    </div>
                </div>
                <div class="text-box to-index">
                        <span class="to-index-m">
                        </span>
                    <input type="text" value="{{ session('error') }}">
                </div>
            </div>
        @endif
    </form>
</div>
</body>
</html>
